{extend name="base/main" /}
{block name="body"}
<link rel="stylesheet" href="/static/layui/css/layui.css">
<script src="/static/layui/layui.js"></script>
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>专栏列表 /开团设置</h5>
            </div>
            <div class="ibox-content">
                <form name="form" id="f" action="{:url('Special/lor')}" class="form-horizontal m-t"  >
                   <div class="form-group">
                        <label class="col-sm-2 control-label">专题标题：</label>
                        <div class="col-sm-4">
                            {$list.title}
                        </div>
                    </div>
                    <div class="form-group">
                            <label class="col-sm-2 control-label">拼团金额：</label>
                            <div class="col-sm-4">
                                <input name="pink_money" style="width: 40%" type="number"  lay-verify="number"
                                 v-model="formData.money" autocomplete="off" class="layui-input" value="{$list.pink_money}">
                            </div>
                    </div>
                    <div class="form-group">
                            <label class="col-sm-2 control-label">拼团人数：</label>
                            <div class="col-sm-4">
                                <input name="pink_number" style="width: 40%" type="number"  lay-verify="number"
                                 v-model="formData.money" autocomplete="off" class="layui-input" value="{$list.pink_number}">
                            </div>
                    </div>
                    <div class="form-group">
                            <label class="col-sm-2 control-label">拼团时效：</label>
                            <div class="col-sm-4">
                                <input name="pink_time" style="width: 40%" type="number"  lay-verify="number"
                                 v-model="formData.money" autocomplete="off" class="layui-input" value="{$list.pink_time}">
                            </div>
                    </div>
                    <div class="form-group">
                                <label class="col-sm-2 control-label">有效时间：</label>
                                <div class="col-sm-4">
                                    <div class="layui-form-item">
                                       <div class="layui-inline">
                                        <div class="layui-input-inline" style="width: 200px;">
                                       <input type="text" name="pink_strar_time" id="test5" placeholder="2021-05-19" autocomplete="off" class="layui-input">
                                     </div>
                                      <div class="layui-form-mid">至</div>
                                    <div class="layui-input-inline" style="width: 200px;">
                                       <input type="text" name="pink_end_time" id="test5" placeholder="2021-06-18" autocomplete="off" class="layui-input">
                                    </div>
                                       </div>
                                    </div>
                                </div>
                            </div>
                    <div class="form-group">
                            <label class="col-sm-2 control-label">模拟拼团：</label>
                            <div class="col-sm-4">
                                <div class="radio i-checks" style="height: 60px;">
                                <label class="simulate"><input type="radio" value="1" name="is_fake_pink" <?php if($list['is_fake_pink']==1){echo "checked";} ?>><i></i>开启</label>
                                <label class="simulate"><input type="radio" value="2" name="is_fake_pink" <?php if($list['is_fake_pink']==2){echo "checked";} ?>><i></i>关闭</label>
                               </div>
                            </div>
                    </div>
                    <div class="form-group">
                            <label class="col-sm-2 control-label">补全比例：</label>
                            <div class="col-sm-4">
                                <input name="fake_pink_number" style="width: 40%" type="number"  lay-verify="number"
                                            v-model="formData.money" autocomplete="off" class="layui-input" value="{$list.fake_pink_number}" >
                            </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-3">
                            <input type="hidden" name="id" value="{$list.id}">
                            <button class="btn btn-primary" type="submit">提交</button>
                            <button class="btn btn-default historygo" type="button">返回</button>
                        </div>
                    </div>
                </form>
            </div>
                
        </div>
    </div>
    <script>
layui.use('laydate', function(){
  var laydate = layui.laydate;

  //日期时间选择器
  laydate.render({
    elem: '#test5'
    ,type: 'datetime'
  });
});
</script>

{/block}

